package com.lecampus.businessSecond_hand_transactions.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lecampus.businessSecond_hand_transactions.entity.ProductComment;
import com.lecampus.businessSecond_hand_transactions.vo.ProductCommentVO;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ${author}
 * @since 2021-03-24
 */
public interface ProductCommentService extends IService<ProductComment> {

    void inputComment(String productId,ProductComment productComment);

    void deleteByCommentId(String productId,String commentId);

    List<ProductCommentVO> findCommentsByProductId(String productId, long currentPage, long size);

    void likes(String productCommentId,int flag);
}
